🌱My Essential AutoHotkey Script
Published by Scott Kingery on
I may use others keys but this is the script I start with:
#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;
#t:: Winset, Alwaysontop, , A ; WindowsKey + t will toggle the window to always stay on top or not
;
; typing the letters td and a space inserts todays date in the proper sortable format like 2024-02-01
::td::
SendInput %A_YYYY%-%A_MM%-%A_DD%{Space}
return
;
; typing tdt and a space inserts todays date and time in the proper sortable format like 2024-02-01T1738
::tdt::
SendInput %A_YYYY%-%A_MM%-%A_DD%T%A_Hour%%A_Min%{Space}
return
;
; typing doo and as space inserts the proper ToDo Syntax for Obsidian
::doo::
SendInput -{Space}[{Space}]{Space}
return
Obsidian
Via: OMG I found a way to make ENTER=New Paragraph - Share & showcase - Obsidian Forum
#IfWinActive, ahk_exe Obsidian.exe
Enter::
Send, {ENTER}{ENTER}
return
^Enter::
Send, {ENTER}
return
tags: Windows Utilities
